package com.opgea.tutor.domain.entities;

import com.opgea.tutor.domain.entities.Post;

import java.io.Serializable;

import javax.persistence.*;

/**
 * Entity implementation class for Entity: TutorPost
 * 
 */
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
public class TutorPost extends Post implements Serializable {

    private static final long serialVersionUID = 1L;

    private String someText;

    public TutorPost() {
	super();
    }

    public String getSomeText() {
	return someText;
    }

    public void setSomeText(String someText) {
	this.someText = someText;
    }

    @Override
    public String toString() {
	return "StudentPost [someText=" + someText + ", getId()=" + getId()
		+ ", getHeading()=" + getHeading() + ", getSubject()="
		+ ", getDescription()=" + getDescription() + ", getStatus()="
		+ getStatus() + ", getPostedOn()=" + getPostedOn()
		+ ", getClosedOn()=" + getClosedOn() + ", hashCode()="
		+ hashCode() + ", getClass()=" + getClass() + ", toString()="
		+ super.toString() + "]";
    }

}
